﻿using SqlSugar;
using VueAdminService.DTO;

namespace VueAdminService.VO
{
	/// <summary>
	/// 添加角色实体
	/// </summary>
	public class RequestAddRoleVO
	{
		/// <summary>
		/// 角色名
		/// </summary>
		public string RoleName { get; set; }		
		/// <summary>
		/// 备注
		/// </summary>
		public string? Bak { get; set; }
		/// <summary>
		/// 权限Id集合
		/// </summary>		
		public List<string> PermissionIds { get; set; } = new List<string>();
	}
	/// <summary>
	/// 修改角色实体
	/// </summary>
	public class RequestEditRoleVO
	{
		/// <summary>
		/// 主键
		/// </summary>		
		public string RoleId { get; set; }
		/// <summary>
		/// 角色名
		/// </summary>
		public string RoleName { get; set; }		
		/// <summary>
		/// 备注
		/// </summary>
		public string? Bak { get; set; }
		/// <summary>
		/// 权限Id集合
		/// </summary>		
		public List<string> PermissionIds { get; set; }=new List<string>();

	}
}
